Adwaita: Update rubberband styling
authorMatthias Clasen <mclasen@redhat.com>
Tue, 10 Nov 2015 05:28:46 +0000 (00:28 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 10 Nov 2015 05:28:46 +0000 (00:28 -0500)
Adapt to the changes in the previous commit.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 7f1fb39722fd0f228a6ca6344bee0775953afba5..b49bae7b603d271cfda6a65cc233a6ade91e89f2 100644 (file)
@@ -120,7 +120,8 @@ textview text,
   }
 }
 
-.rubberband {
+.rubberband,
+rubberband {
   border: 1px solid darken($selected_bg_color, 10%);
   background-color: transparentize(darken($selected_bg_color, 10%), 0.8);
 }
@@ -1269,7 +1270,7 @@ treeview.view {
   border-left-color: mix($fg_color, $base_color, 50%); // this is actually the tree lines color,
   border-top-color: $bg_color;                         // while this is the grid lines color, better then nothing
 
-  &.rubberband { @extend .rubberband; } // to avoid borders being overridden by the previously set props
+  &.rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props
 
   &:selected { border-radius: 0; } // rest border radius in lists
 
@@ -3195,7 +3196,7 @@ colorswatch {
   background-color: darken($bg_color,7%);
   &:hover { -gtk-image-effect: highlight; }
   &:backdrop { background-color: darken($bg_color,7%); }
-  &.rubberband { @extend .rubberband; }
+  & rubberband { @extend rubberband; }
 }
 
 .scale-popup {
index 6dbd0cc65bf75a69e63c413ee8d3df60334ade48..f5c51e1fc02924d1bbf345b0779188327083039e 100644 (file)
@@ -77,7 +77,10 @@ textview text,
   calendar:selected {
     border-radius: 3px; }
 
-.rubberband, treeview.view.rubberband, .content-view.rubberband {
+.rubberband,
+rubberband,
+treeview.view.rubberband,
+.content-view rubberband {
   border: 1px solid #184472;
   background-color: rgba(24, 68, 114, 0.2); }
 
index 42e459a30065d89cd35c9bbfb25ec483ab976cb8..0c15268cafec753622624f92980866982a79686d 100644 (file)
@@ -77,7 +77,10 @@ textview text,
   calendar:selected {
     border-radius: 3px; }
 
-.rubberband, treeview.view.rubberband, .content-view.rubberband {
+.rubberband,
+rubberband,
+treeview.view.rubberband,
+.content-view rubberband {
   border: 1px solid #2a76c6;
   background-color: rgba(42, 118, 198, 0.2); }